﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RoutingDaemon.ServerInterface.Commands
{
    class REMOVEUSERCommand:DaemonCommandBase
    {
        public REMOVEUSERCommand(string[] parameters) 
        {
            if (parameters.Length > 0)
            {
                this.Nickname = parameters[0];
            }
        }
        public string Nickname { get; set; }


        public override string ExecuteCommand()
        {
            CommandHandlers.REMOVEUSERCommandHandler handler = new global::RoutingDaemon.ServerInterface.CommandHandlers.REMOVEUSERCommandHandler();
            return handler.HandleCommand(this);
        }
    }
}
